import { PageQuery } from '@/api/model/baseModel';
import { OrderVO } from '../order/types';

export interface OrderRefundQuery extends PageQuery {
    orderNo?: string;
    refundNo?: string;
    userId?: number;
    status?: number;
    refundType?: number;
    [key: string]: any;
}

export interface OrderRefundVO {
    id?: number;
    orderId?: number;
    orderNo?: string;
    userId?: number;
    refundNo?: string;
    refundAmount?: number;
    refundType?: number;
    reason?: string;
    status?: number;
    handleTime?: string;
    handleResult?: string;
    createTime?: string;
    updateTime?: string;
    order?: OrderVO;
}

export interface OrderRefundForm {
    id?: number;
    orderId?: number;
    orderNo?: string;
    userId?: number;
    refundNo?: string;
    refundAmount?: number;
    refundType?: number;
    reason?: string;
    status?: number;
    handleTime?: string;
    handleResult?: string;
    createTime?: string;
    updateTime?: string;
    order?: OrderVO;
} 